package com.crm.model.vo.opportunityManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OpportunityVO {

    private String customerId;  //客户id

    private String customerName;  //客户姓名

    private String customerType;  //客户类型  0企业客户 1个人客户

    private String email; //客户邮箱

    private String opportunityId;  //商机id

    private String opportunityTitle;  //商机标题

    private String customerProductId;  //产品id

    private String productName;  //产品名称

    private String opportunityTheme;  //商机主题

    private String contactId;  //联系人id

    private String contactName;  //联系人姓名

    private String contactInformation;  //联系方式

    private String opportunityContact;  //商机联系人

    private String opportunityStatus;  //商机状态

    private String lostOrderFriend;  //输单友商

    private Date createTm;  //创建时间

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date estimatedSigningTime;  //预计签单时间

    private Date lastFollowUpTime;  //最后跟进时间

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date nextFollowUpTime;  //下次跟进时间

    private String userName;  //用户权限名称

    private BigDecimal estimatedSalesAmount;  //预计销售金额

    private String possibilitySigning;  //签单可能性

    private String opportunityType;  //商机类型

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date opportunityAcquisitionTime;  //商机获取日期

    private String opportunitySource;  //商机来源

    private String remarks;  //备注

    private String operatorName; //操作人

    private String customerIntention; //客户意向

    private String opportunityContractType;  //商机合同  0未创建  1创建

    private String opportunityTp;  //商机类型 1:续费 2:新会员 3:单词 4:证书 5:线上单品 6:高端班 7:内训 8:咨询 9:其他

    private String contractId;  //合同id
}
